package org.config;

import org.annotation.inject.AService;
import org.annotation.inject.BService;
import org.annotation.inject.CService;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Bean配置
 */
@Configuration
@SuppressWarnings("unused")
public class InjectConfig {

    @Bean
    public AService aService() {
        return new AService();
    }

    @Bean
    public BService bService() {
        return new BService();
    }

    @Bean
    public CService cService() {
        return new CService();
    }
}
